﻿using Microsoft.AspNetCore.Mvc;
using SHZY.Business.Entitys.Common.Dto.PrintExecute;
using SHZY.Common.Enum;

namespace SHZY.Business.Interfaces.Common
{
    /// <summary>
    /// 业务抽象：打印执行.
    /// </summary>
    public interface IComBasePrintExecuteService
    {
        /// <summary>
        /// MAC指令发送打印机.
        /// </summary>
        /// <param name="Unpack">参数</param>
        /// <returns></returns>
        Task<dynamic> PrintUnpackingExeport([FromBody] PrintUnpackingExecuteInput Unpack);

        /// <summary>
        /// 打印生成PDF.
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<dynamic> PrintExportPDF([FromBody] ComBasePrintExecuteCrInput input);
    }
}
